package com.holly.unit.bpmn.activiti.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.holly.unit.db.api.pojo.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 类描述: 流程节点扩展表
 *
 * @author fxr
 * @version 1.0.0
 * @date 2022/2/21 14:24
 */
@EqualsAndHashCode(callSuper = true)
@TableName("act_z_button")
@Data
public class ActButton extends BaseEntity {

    /**id*/
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    /**流程定义id*/
    @TableField("proc_def_id")
    private String procDefId;
    /**按钮编码*/
    @TableField("button_code")
    private String buttonCode;
    /**节点Id*/
    @TableField("node_id")
    private String nodeId;
    /**按钮编码*/
    @TableField("button_name")
    private String buttonName;
    /**操作类型 1 可见  2 可编辑*/
    @TableField("button_type")
    private Integer buttonType;

}
